<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="su" uri="/WEB-INF/tlds/StringUtils.tld" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
        <title>Some title</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    </head>
    <body style="background-color: #FFFFFF;">
	<h3>API Calls</h3>
	<ul>
	<c:forEach items="${methods}" var="item">
	    <c:forEach items="${item.getAnnotations()}" var="annotation">
		<c:if test='${annotation.annotationType().getName().equals("org.springframework.web.bind.annotation.RequestMapping")}'>
		    <li><b>${annotation.value()[0]}</b>
			(<c:forEach items="${parameterNameDiscoverer.getParameterNames(item)}" var="params">
			    <c:if test='${!params.equals("response") && !params.equals("httpServletResponse")}'>${params},</c:if>
			</c:forEach>
		    )</li>
		</c:if>
	    </c:forEach>
	</c:forEach>
	</ul>
    </body>
</html>
